<template>
	<view>
		<u-navbar :is-back="true" title="添加选手"></u-navbar>
		<view class="baoming-form">
			<view class="baoming-form-cell">
				<view class="baoming-cell-title">选手名字</view>
				<view class="baoming-cell-input">
					<input type="text" placeholder="输入选手名字" placeholder-style="font-size:24rpx;" />
				</view>
			</view>
			<view class="baoming-form-cell">
				<view class="baoming-cell-title">编号设置</view>
				<view class="baoming-cell-input">
					<input type="text" placeholder="输入编号" placeholder-style="font-size:24rpx;" />
				</view>
			</view>
			<view class="baoming-form-cell">
				<view class="baoming-cell-title">默认票数</view>
				<view class="baoming-cell-input">
					<text>0</text>
				</view>
			</view>
			<view class="baoming-form-cell">
				<view class="baoming-cell-title">设置封面图片</view>
				<view class="baoming-cell-input">
					<text>+</text>
				</view>
			</view>
			<view class="baoming-form-cell">
				<view class="baoming-cell-title">选项介绍</view>
				<view class="baoming-cell-input">
					<image src="../../../static/img/charutupian.png" class="xuanze-icon" style="margin-right: 20rpx;"></image> <text>插入图片</text>
				</view>
			</view>
			<textarea placeholder="请输入介绍" class="xiangqing-text"></textarea>
		</view>
		<view class="tijiaobaoming">
			<u-button shape="circle" hover-class="none"  class="custom-style" :hair-line="false">增加</u-button>
		</view>
		<tarBer :totarBer='tar'></tarBer>
	</view>
</template>

<script>
	import tarBer from '../../../components/tabBarFoot/tabBarFoot.vue'
	export default {
		components:{
				 tarBer
			 },
		data() {
			return {
				tar:{
						color:'#fff',
						id:1		 
				},
			};
		}
	}
</script>

<style lang="scss">
page{
	background-color: #e3e3e3;
}
.haibao-cont{
	background-color: #FFFFFF;
	padding: 20rpx 40rpx;
}
.haibao{
	background-color: #8a8a8a;
	height: 225rpx;
	display: flex;
	flex-direction: column;
	.add-text{
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 70rpx 0 55rpx;
		font-size: 28rpx;
		.zengjia{
			width: 32rpx;
			height: 32rpx;
			margin-right: 15rpx;
			
		}
	}
	.chicun{
		font-size: 24rpx;
		text-align: center;
		color: #FFFFFF;
	}
}
.baoming-form{
	background-color: #FFFFFF;
	.baoming-form-cell{
		padding: 30rpx 45rpx;
		border-bottom: 1px solid #ebebeb;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.baoming-cell-title{
			font-size: 24rpx;
			color: #515151;
		}
		.baoming-cell-input{
			text-align: right;
			font-size: 24rpx;
			display: flex;
			align-items: center;
			.xuanze-icon{
				width: 48rpx;
				height: 48rpx;
				margin-left: 20rpx;
			}
			input{
				margin-bottom: 0;
				font-size: 24rpx;
			}
		}
	}
}
.tijiaobaoming{
	padding: 40rpx 50rpx;
	background-color: #e3e3e3;
	.custom-style{
		width: 310rpx;
		background-color: #178bd1;
		color: #FFFFFF;
	}
}
.xiangqing-text{
	font-size: 24rpx;
	padding: 20rpx 40rpx;
	height: 300rpx;
	box-sizing: border-box;
}
</style>
